<template>
  <el-tabs v-model="currentTab">
    <el-tab-pane label="用户列表" name="1">
        <userList />
    </el-tab-pane>
    <el-tab-pane label="配置" name="2">
        <config :tabIndex="currentTab" />
    </el-tab-pane>
  </el-tabs>
</template>
<script>
import userList from './userList'
import config from './config'
export default {
  components: {
      userList,
      config
  },
  data () {
    return {
      currentTab: '1',
      overviewTab: '1'
    }
  }
}
</script>
